import json from '@rollup/plugin-json';
import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';

export default {
    input: 'src/main.js',
    output: {
        file: 'dist/index.js',
        format: 'iife',
        sourcemap: true,
        name: 'SDK'
    },
    plugins: [json(), resolve(), commonjs()],
};